//
//  CoreDataStore.h
//  ViperDemo
//
//  Created by Leeesven on 17/5/20.
//  Copyright © 2017年 Leeesven. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^DataStoreFetchCompletionBlock)(NSArray *results);

@interface CoreDataStore : NSObject

- (void)fetchEntriesWithPredicate:(NSPredicate *)predicate
                  sortDescriptors:(NSArray *)sortDescriptors
                  completionBlock:(DataStoreFetchCompletionBlock)completionBlock;

@end
